package com.security.spring.controller;

import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@RestController()
@RequestMapping("/token/api/v1")
public class TokenController extends BaseController {

    @PutMapping("validate_token")
    public Boolean validateToken(@RequestHeader("Authorization") String memberToken) {
        return true;
    }

}
